package va.radiomaria.p2p;

import va.radiomaria.audio.Mood;

/**
 * This exception gets thrown if no songs for a mood can be found.
 */
public class UnsupportedMoodException extends Exception {

	private static final long serialVersionUID = 1L;
	private String mood = "";
	
	@Override
	public String getMessage() {
		
		return "Mood: \'" + this.mood + "\' is not supported! Please choose another mood.";
	}
	
	public UnsupportedMoodException(Mood mood) {
		this.mood = mood.toString();
	}

}
